<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>首页</title>
    <script type="text/javascript" src="js/jquery-1.9.0.min.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
    <link rel='stylesheet' type='text/css' media='screen' href='css/index.css'>
</head>
<body>
    <h1><img src="images/logo.png">火灾报警系统显示</h1>
    <div class="login">
        <div class="header">
		<div class="switch" id="switch">
			<div>
				<a class="switch_btn_focus" id="admin_login" href="javascript:void(0);">用户登录</a>
				<a class="switch_btn" id="staff_login" href="javascript:void(0);">用户注册</a>
				<div class="switch_bottom" id="switch_bottom"></div>
			</div>
		</div>
	</div>
        <div class="admin_window" id="admin_window">
            <div class="login_form">
                <form action="php/userAction.php?method=a-login" method="post">
                    <div class="userText" id="userText">
                        <label class="input-tips" for="a_u">帐号：</label>
                        <div class="inputOuter" id="uArea">
                            <input type="text" id="a_u" name="uname" class="inputstyle" />
                        </div>
                    </div>
                    <div class="pwdText" id="pwdText">
                        <label class="input-tips" for="a_p">密码：</label>
                        <div class="inputOuter" id="pArea">
                            <input type="password" id="a_p" name="upwd" class="inputstyle" />
                        </div>
                    </div>
                    <div class="button">
                        <input type="submit" value="登 录" class="button_blue" />
                    </div>
                </form>
            </div>
        </div>
	     <div class="staff_window" id="staff_window">
            <div class="login_form">
		    <form action="php/register.php?method=add" method="post">
                    <div class="userText" id="userText">
                        <label class="input-tips" for="s_u">帐号：</label>
                        <div class="inputOuter" id="uArea">
				<input type="text" id="s_u" name="uname" class="inputstyle" />
                        </div>
                    </div>
                    <div class="pwdText" id="pwdText">
                        <label class="input-tips" for="s_p">密码：</label>
                        <div class="inputOuter" id="pArea">
                            <input type="password" id="s_p" name="upwd" class="inputstyle" />
                        </div>
                    </div>
                    <div class="button">
                        <input type="submit" value="注 册" class="button_blue" />
                    </div>
                </form>
            </div>
        </div>
        <!--结束-->
    </div>
</body>
</html>
